package cn.justforchris.system.service;



import cn.justforchris.system.domain.Permission;
import cn.justforchris.system.query.PermissionQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;


public interface IPermissionService {
    void insertPermission(Permission permission);
    void deletePermission(Long id);
    void patchDelete(Long[] ids);
    void updatePermission(Permission permission);
    Permission getPermissionById(Long id);
    List<Permission> getAll();


    PageInfo<Permission> queryPage(PermissionQuery queryPage);





}
